package com.training.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class InformationComment {
    private Long id;
    private Long infoId;
    private Long userId;
    private String content;
    private Long infoLikeNum;
    private Long atId;
    private Long parentCommentsId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer deleted;

    // 非数据库字段，用于显示评论者信息
    private String username;
    private String userRole;
}